package service.impl;

import dao.SkillDao;
import entity.Skill;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import service.SkillService;

import java.util.List;

@Service()
@Transactional
public class SkillServiceImpl implements SkillService {
    @Autowired
    private SkillDao skillDao;

    @Override
    public List<Skill> getSkills() {
        return skillDao.getSkills();
    }
}
